<script setup lang="ts">
import DiyContractReview from '@/views/diy/chat/components/DiyContractReview.vue'

const props = withDefaults(
  defineProps<{
    appId?: string
    chatId?: string
    type: any
    applicationDetails: any
  }>(),
  {
  }
)

</script>

<template>
  <!-- 60 制化-合同审查 -->
  <!-- 定制化-合同审查 -->
  <DiyContractReview 
    v-if="+props.applicationDetails.renderingType === 601" 
    :app-id="props.appId" 
    :chat-id="props.chatId" 
    :applicationDetails="applicationDetails"
  />
  <!-- <AiChatDiy
      v-model:applicationDetails="props.applicationDetails"
      :available="true"
      type="ai-chat"
      :appId="props.applicationDetail?.id"
      :record="[]"
      :chatId="'new'"
    /> -->
</template>

<style lang="scss">
.mt-12 {
  margin-top: 12px;
}
.mb-12 {
  margin-top: 12px;
}
.ai-start {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  &-tips {
    width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 14px;
    color: #3067EF;
    line-height: 21px;
    .el-icon {
      cursor: pointer;
    }
    &-ellipsis {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
}
</style>
